package com;

import java.util.Scanner;

import com.ai.analysis.StoreHouse;
import com.ai.sys.SystemCheck;
import com.ai.tool.CacheConst;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

public class MainRun {

	@SuppressWarnings("resource")
	public static void main(String[] args) {
		new SystemCheck().run();

		Scanner input = new Scanner(System.in);
		while (true) {
			String inStr = input.nextLine();
			if (inStr != null && !"".equals(inStr)) {
				CacheConst.getUop().addTxt(inStr);
//				JSONObject obj = new JSONObject();
//				JSONArray ws = new JSONArray();
//				obj.put("ws", ws);
//				JSONObject ws_o = new JSONObject();
//				ws.add(ws_o);
//				JSONArray cw = new JSONArray();
//				ws_o.put("cw", cw);
//				JSONObject w = new JSONObject();
//				w.put("w", inStr);
//				cw.add(w);
//				StoreHouse.addRaw(obj.toJSONString());
			}
		}
	}

}
